package com.xm.po;

/**
 * @author xie'lin'feng
 * @date 2020-08-06-14:35
 * @description 管理员实体类
 */
public class Admin {
    //属性
    private String id;
    //用户名称
    private String userName;
    //用户密码
    private String passWord;
    //手机号
    private String mobileNumber;
    //禁言功能（默认1为启用，0为禁用,2为超级管理员不存在启用或禁用）
    private Integer disable;
    //构造器
    public Admin(){}
    public Admin(String id,String userName,String passWord,String mobileNumber,Integer disable){
        this.id=id;
        this.userName=userName;
        this.passWord=passWord;
        this.mobileNumber=mobileNumber;
        this.disable=disable;
    }
    //getter setter方法
    public void setId(String id){
        this.id=id;
    }
    public String getId(){
        return id;
    }
    public void setUserName(String userName){
        this.userName=userName;
    }
    public String getUserName(){
        return userName;
    }
    public void setPassWord(String passWord){
        this.passWord=passWord;
    }
    public String getPassWord(){
        return passWord;
    }
    public void setMobileNumber(String mobileNumber){
        this.mobileNumber=mobileNumber;
    }
    public String getMobileNumber(){
        return mobileNumber;
    }
    public void setDisable(Integer disable){
        this.disable=disable;
    }
    public Integer getDisable(){
        return disable;
    }
    public String toString(){
        return "Admin [id=" + id + ", userName=" + userName + ", passWord=" + passWord + ", mobileNumber=" + mobileNumber + ", disable=" + disable + "]";
    }
}
